authenticate
Authenticate a user with their email and password. This logs the user into their account.
Parameters
email
The email address of the user.
password
The password to associate with the account.
on Result
The callback function to handle the result of authentication.